package com.java2207.group1.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author AL 2022/7/27  8:45
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DinnerBo {

    @ExcelProperty(value = "晚餐id")
    private Integer id;

    @ExcelProperty(value = "晚餐名字")
    private String name;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date time;

    @ExcelProperty(value = "图片")
    private String pic;

    @ExcelProperty(value = "特殊晚餐")
    private String special;

    @ExcelProperty(value = "水果")
    private String fruit;
}
